package com.jeason.blogadmin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * @author 26950
 */
@EnableScheduling
@EnableTransactionManagement
@EnableOpenApi
@SpringBootApplication
@ComponentScan(basePackages = {"com.jeason.blogmpg",
        "com.jeason.blogadmin",
        "com.jeason.blogservice",
        "com.jeason.blogcommon"})
public class BlogAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlogAdminApplication.class, args);
    }

}
